package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import java.lang.Float;
import javax.validation.constraints.Size;
import org.joda.time.DateTime;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * ETbFuelRecharge is a Querydsl bean type
 */
@Label("油卡充值登记信息表")
public class ETbFuelRecharge extends AbstractIdEntity<String> {

    private static final long serialVersionUID =9089801342402L;    
    @Size(max=45)
    @Label("账户编号")
    private String accountNumber;

    @Size(max=45)
    @Label("经办人")
    private String agent;

    @Size(max=24)
    @Label("baseOilCardId")
    @NotNull
    private String baseOilCardId;

    @Size(max=256)
    @Label("comment")
    private String comment;

    @Size(max=45)
    @Label("删除标记")
    private String flag;

    @Size(max=24)
    @Label("ID")
    @NotNull(groups={UpdateCheck.class})
    private String id;

    @Size(max=45)
    @Label("油卡编号")
    private String oilCardNumber;

    @Label("充值日期")
    private DateTime payDate;

    @Label("充值金额")
    private Float rechargeAmount;

    @Size(max=45)
    @Label("状态")
    private String status;

    @Size(max=45)
    @Label("tbBankAccountId")
    @NotNull
    private String tbBankAccountId;

    public String getAccountNumber() {
        return accountNumber;
    }

    public void setAccountNumber(String accountNumber) {
        this.accountNumber = accountNumber;
    }

    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }

    public String getBaseOilCardId() {
        return baseOilCardId;
    }

    public void setBaseOilCardId(String baseOilCardId) {
        this.baseOilCardId = baseOilCardId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOilCardNumber() {
        return oilCardNumber;
    }

    public void setOilCardNumber(String oilCardNumber) {
        this.oilCardNumber = oilCardNumber;
    }

    public DateTime getPayDate() {
        return payDate;
    }

    public void setPayDate(DateTime payDate) {
        this.payDate = payDate;
    }

    public Float getRechargeAmount() {
        return rechargeAmount;
    }

    public void setRechargeAmount(Float rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTbBankAccountId() {
        return tbBankAccountId;
    }

    public void setTbBankAccountId(String tbBankAccountId) {
        this.tbBankAccountId = tbBankAccountId;
    }

    public String toString() {
         return String.format("ETbFuelRecharge { accountNumber : %s,agent : %s,baseOilCardId : %s,comment : %s,flag : %s,id : %s,oilCardNumber : %s,payDate : %s,rechargeAmount : %s,status : %s,tbBankAccountId : %s }",accountNumber,agent,baseOilCardId,comment,flag,id,oilCardNumber,payDate,rechargeAmount,status,tbBankAccountId);
    }

}

